package com.ruoyi.system.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 服务需求对象 demand
 * 
 * @author ruoyi
 * @date 2024-09-25
 */
public class Demand extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 服务需求id */
    private Long id;

    /** 类型 */
    @Excel(name = "类型")
    private String orderType;

    /** 名称 */
    @Excel(name = "名称")
    private String orderName;

    /** 编号 */
    @Excel(name = "编号")
    private Long noteNumber;

    /** 金额 */
    @Excel(name = "金额")
    private Long demandOrder;

    /** 姓名 */
    @Excel(name = "姓名")
    private String username;

    /** 电话 */
    @Excel(name = "电话")
    private Long phone;

    /** 服务地址 */
    @Excel(name = "服务地址")
    private String requestLocation;

    /** 服务地址id */
    @Excel(name = "服务地址id")
    private Long serviceAddressId;

    /** 服务时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "服务时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date serviceHours;

    /** 抢单状态 */
    @Excel(name = "抢单状态")
    private String grabStatus;

    /** 是否派单 */
    @Excel(name = "是否派单")
    private String dispatchOrders;

    /** 服务人员所属店铺/个人 */
    @Excel(name = "服务人员所属店铺/个人")
    private String affiliation;

    /** 服务需求表 */
    @Excel(name = "服务需求表")
    private Long columnName;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setOrderType(String orderType) 
    {
        this.orderType = orderType;
    }

    public String getOrderType() 
    {
        return orderType;
    }
    public void setOrderName(String orderName) 
    {
        this.orderName = orderName;
    }

    public String getOrderName() 
    {
        return orderName;
    }
    public void setNoteNumber(Long noteNumber) 
    {
        this.noteNumber = noteNumber;
    }

    public Long getNoteNumber() 
    {
        return noteNumber;
    }
    public void setDemandOrder(Long demandOrder) 
    {
        this.demandOrder = demandOrder;
    }

    public Long getDemandOrder() 
    {
        return demandOrder;
    }
    public void setUsername(String username) 
    {
        this.username = username;
    }

    public String getUsername() 
    {
        return username;
    }
    public void setPhone(Long phone) 
    {
        this.phone = phone;
    }

    public Long getPhone() 
    {
        return phone;
    }
    public void setRequestLocation(String requestLocation) 
    {
        this.requestLocation = requestLocation;
    }

    public String getRequestLocation() 
    {
        return requestLocation;
    }
    public void setServiceAddressId(Long serviceAddressId) 
    {
        this.serviceAddressId = serviceAddressId;
    }

    public Long getServiceAddressId() 
    {
        return serviceAddressId;
    }
    public void setServiceHours(Date serviceHours) 
    {
        this.serviceHours = serviceHours;
    }

    public Date getServiceHours() 
    {
        return serviceHours;
    }
    public void setGrabStatus(String grabStatus) 
    {
        this.grabStatus = grabStatus;
    }

    public String getGrabStatus() 
    {
        return grabStatus;
    }
    public void setDispatchOrders(String dispatchOrders) 
    {
        this.dispatchOrders = dispatchOrders;
    }

    public String getDispatchOrders() 
    {
        return dispatchOrders;
    }
    public void setAffiliation(String affiliation) 
    {
        this.affiliation = affiliation;
    }

    public String getAffiliation() 
    {
        return affiliation;
    }
    public void setColumnName(Long columnName) 
    {
        this.columnName = columnName;
    }

    public Long getColumnName() 
    {
        return columnName;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("orderType", getOrderType())
            .append("orderName", getOrderName())
            .append("noteNumber", getNoteNumber())
            .append("demandOrder", getDemandOrder())
            .append("username", getUsername())
            .append("phone", getPhone())
            .append("requestLocation", getRequestLocation())
            .append("serviceAddressId", getServiceAddressId())
            .append("serviceHours", getServiceHours())
            .append("grabStatus", getGrabStatus())
            .append("dispatchOrders", getDispatchOrders())
            .append("affiliation", getAffiliation())
            .append("columnName", getColumnName())
            .toString();
    }
}
